<template>
  <UiFormEdition
    class="inner-container"
    :model="Event"
    go-back-route="/freemium/dashboard"
  >
    <template #default="{ entity }">
      <FormFreemiumEvent v-if="entity !== null" :entity="entity" />
    </template>
  </UiFormEdition>
</template>

<script setup lang="ts">
import Event from '~/models/Freemium/Event'

definePageMeta({
  name: 'freemium_event_edit_page',
})
</script>

<style scoped lang="scss">
.inner-container {
  max-width: 1200px;
}
</style>
